package org.jeecg.modules.flowable.service.action.impl;

import lombok.extern.slf4j.Slf4j;
import org.jeecg.modules.flowable.service.action.ActionBody;
import org.jeecg.modules.flowable.service.action.ActionExec;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Title: 流程交办  <br>
 * Desc:  <br>
 * Date: 6/26/22 10:01 AM <br>
 * Company: 联通（辽宁）产业互联网有限公司 <br>
 *
 * @author zxd
 * @version 1.0.0
 */
@Service("Assigned")
@Slf4j
public class Assigned implements ActionExec {

    @Autowired
    private Fallback fallback;
    @Override
    public boolean deal(ActionBody argActionBody,String argActionFunname,String argActionFuncode) {
        // 默认走回退流程，党建的交办是交给上报人进行处理
        boolean deal = fallback.deal(argActionBody, argActionFunname,argActionFuncode);
        return deal;
    }
}